﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace hse_2013_twinpics
{
    public partial class MenuForm : Form
    {
        private MainForm MainForm;
        public MenuForm(MainForm MF)
        {
            InitializeComponent();
            MainForm=MF;
            this.BackgroundImage = Properties.Resources.background3;
        }

        private void button2_Click(object sender, EventArgs e)
        {
            MainForm.NewGame();
            this.Close();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void button6_Click(object sender, EventArgs e)
        {
            Application.Exit();
        }
    }
}
